-
Notifications
You must be signed in to change notification settings - Fork 798
chore(query): Tuning sort spill memory usage #18520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Benchmark: Settings
DataSet: tpch sf100 SQL
Analysis: Currently, the sort restore step does not read the global memory usage, but instead statically determines the available memory by referring to the memory usage of the collect step, which is an inelastic strategy. After the restore step, since there is no more scanning, we can't see any problem. Bug fixed: It is recommended to use a larger |
Two issues with this PR:
|
Docker Image for PR
|
Docker Image for PR
|
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
sort_spilling_batch_bytes
Tests
Type of change
This change is